package com.example.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName SysDiseaseEncyclopedia
 * @Author wengjt
 * @Date 2021/4/2015:15
 * @Description 疾病百科实体
 **/
@ApiModel("疾病百科")
@Data
@Entity
@Table(name = "sys_disease_encyclopedia")
public class SysDiseaseEncyclopedia implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "de_id_bigint")
    @ApiModelProperty(value = "百科Id")
    private Integer deId;
    @ApiModelProperty(value = "疾病名称")
    @Column(name = "name_nvarchar")
    private String name;
    @ApiModelProperty(value = "分类ID")
    @Column(name = "dec_id_bigint")
    private Integer decId;
    @ApiModelProperty(value = "禁用状态")
    @Column(name = "disable_bit")
    private Integer disable;
    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time_datetime")
    private Date createTime;
    @ApiModelProperty(value = "简介")
    @Column(name = "introduction_nvarchar")
    private String introduction;
    @ApiModelProperty(value = "症状")
    @Column(name = "symptom_nvarchar")
    private String symptom;
    @ApiModelProperty(value = "病因")
    @Column(name = "cause_nvarchar")
    private String cause;
    @ApiModelProperty(value = "预防")
    @Column(name = "prevention_nvarchar")
    private String prevention;
    @ApiModelProperty(value = "检查")
    @Column(name = "examination_nvarchar")
    private String examination;
    @ApiModelProperty(value = "治疗")
    @Column(name = "treatment_nvarchar")
    private String treatment;
    @ApiModelProperty(value = "护理")
    @Column(name = "nursing_nvarchar")
    private String nursing;
    @ApiModelProperty(value = "并发症")
    @Column(name = "complication_nvarchar")
    private String complication;
}
